package com.sam.query.mould.simple.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Login entity.
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "Login")
public class Login implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 1L;
	private String loginId;
	private String loginPassword;
	private String ramark;
	private String mark;

	// Constructors

	/** default constructor */
	public Login() {
	}

	/** minimal constructor */
	public Login(String loginPassword, String mark) {
		this.loginPassword = loginPassword;
		this.mark = mark;
	}

	/** full constructor */
	public Login(String loginPassword, String ramark, String mark) {
		this.loginPassword = loginPassword;
		this.ramark = ramark;
		this.mark = mark;
	}

	// Property accessors
	@Id
	@Column(name = "loginID", unique = true, nullable = false, length = 50)
	public String getLoginId() {

		return this.loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	@Column(name = "loginPassword", nullable = false, length = 50, updatable = false)
	public String getLoginPassword() {
		return this.loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}

	@Column(name = "ramark", length = 100)
	public String getRamark() {
		return this.ramark;
	}

	public void setRamark(String ramark) {
		this.ramark = ramark;
	}

	@Column(name = "mark", nullable = false, length = 10, updatable = false)
	public String getMark() {
		return this.mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

}